package ran.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ran
 * Date: 2025-09-30
 * Time: 13:03
 */
@Data
public class QuestionInfo {
    @TableId(type = IdType.AUTO)
    private Long questionId;
    // 不存数据库，只在读取时使用
    @TableField(exist = false)
    private List<OptionInfo> options; // 选项
    private String content;
    private Integer grade;
    private int errorCount;

    private String correctAnswer;

    private Double riskScore;
    private String riskLabel;
    private String cheatType;
    private String questionType;

    private String highRiskOption; // 高风险选项

    private Date updateTime;
    private Date createTime;
}
